package com.hairline.hairlinemarket.shiro;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @author stone
 * @date 2023/04/21 15:16
 */
@Data
@NoArgsConstructor
public class WdToken extends UsernamePasswordToken {
    public static final String WX_TYPE = "WX";
    public static final String ADMIN_TYPE = "ADMIN";
    String type;

    public WdToken(String username, String password, String type) {
        super(username, password);
        this.type = type;
    }
}
